[Unit]  
Description=tomcat
After=network.target remote-fs.target nss-lookup.target  
   
[Service]  
Type=forking
Environment="JAVA_HOME={{ path_jdk }}"
ExecStart={{ path_tomcat }}/bin/startup.sh
ExecReload=/bin/kill -s HUP $MAINPID
ExecStop=/bin/kill -s QUIT $MAINPID
PrivateTmp=true  
   
[Install]  
WantedBy=multi-user.target
